package com.back.end.Dao;

import com.back.end.Modal.ProductChild;
import com.back.end.Modal.Sales;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AppProductDao {
    public List<ProductChild> getProductList();

    public ProductChild getProductChildById(int id);

    public void updateProductChild(int id, int num);

    public void addOrdersProduct(Sales sales);
}
